import pandas as pd
from pandas import DataFrame, Series
import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt

m1 = {'a':30, 'b':40, 'c':34}
m2 = {'a':32, 'c':25, 'd':50}
s1 = Series(m1)
s2 = Series(m2)
p1 = s1 + s2
p2 = s1.add(s2, fill_value=0)
p2.plot(kind='bar')

plt.plot(p2)
plt.show()
plt.savefig("test pd.jpg")